package com.projecy.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.projecy.product.model.ProductMaterialDetail;
import com.projecy.product.vo.ProductMaterialDetailVo;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ProductMaterialDetailMapper extends BaseMapper<ProductMaterialDetail> {

    @Insert(" insert into product_material_detail (product_id,details_id,product_name,type,product_describe,price,number,subtotal)values(#{productId},#{detailsId},#{productName},#{type},#{productDescribe},#{price},#{number},#{subtotal}) ")
    Boolean insertProductMaterialDetai(ProductMaterialDetailVo productMaterialDetailVo);


}
